package com.dx.childrenedu.pojo.dto;

import com.dx.childrenedu.pojo.SysLogPojo;
import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;

/**
 * @ClassName SysLogDto
 * @Description TODO
 * @Author xst
 * @Date 2022/11/15 1:08
 * @Version 1.0
 **/
@Table(name="sys_log")
public class SysLogDto extends SysLogPojo {
    @Transient
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date loginTime) {
        this.createTime = createTime;
    }
}

